const apiKey = 'ltp@key^hhh' // 此处加密
const MODE = process.env.NODE_ENV
// const MODE = 'production' // 连接线上后台
const BASEURL =
  MODE === 'development'
      ? 'http://192.168.35.110:3000/api'
      : 'http://8.141.157.232/api/v1'
const BASEURL2 =
  MODE === 'development'
      ? 'http://192.168.35.110:3001'
      : 'http://8.141.157.232/api/v2'
// 在此处储存接口名字与连接，配置baseUrl
export default {
    apiKey, // 参数加密命令
    mobileLogin: `${BASEURL}/user/mobileLogin`, //   手机号+验证码快捷登录
    send_str: `${BASEURL}/user/send_str`, //   发送手机验证码
    register: `${BASEURL}/user/register`,
    uploadImg: `${BASEURL}/upload/uploadImg`,
    uploadImgByThink: `${BASEURL2}/upload/uploadImg`,
    Upload: `${BASEURL}/users/image/Upload`,
    getObjectList: `${BASEURL}/users/query/getObjectList`,
    deleteObj: `${BASEURL}/users/query/delete`,
    download: `${BASEURL}/users/query/download`,
    downloadByThink: `${BASEURL2}/download`,
    streamDownload: `${BASEURL}/users/query/streamDownload`,
    streamDownloadByThink: `${BASEURL2}/download/streamDownload`,
    getBackMsg: `${BASEURL2}/query/backMsg`,
    getObjectListByThink: `${BASEURL2}/query/getObjectList`,
    deleteObjThink: `${BASEURL2}/query/delete`,
    getXyqServerList: `${BASEURL2}/xyq`,
    getXyqTraList: `${BASEURL2}/xyq/tra`
}
